package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.EmpInfoModifyDao;
import io.renren.entity.EmpInfoModifyEntity;
import io.renren.service.EmpInfoModifyService;



@Service("empInfoModifyService")
public class EmpInfoModifyServiceImpl implements EmpInfoModifyService {
	@Autowired
	private EmpInfoModifyDao empInfoModifyDao;
	
	@Override
	public EmpInfoModifyEntity queryObject(Integer id){
		return empInfoModifyDao.queryObject(id);
	}
	
	@Override
	public List<EmpInfoModifyEntity> queryList(Map<String, Object> map){
		return empInfoModifyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return empInfoModifyDao.queryTotal(map);
	}
	
	@Override
	public void save(EmpInfoModifyEntity empInfoModify){
		empInfoModifyDao.save(empInfoModify);
	}

	@Override
	public void update(EmpInfoModifyEntity empInfoModify){
		empInfoModifyDao.update(empInfoModify);
	}
	
	@Override
	public void delete(Integer id){
		empInfoModifyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		empInfoModifyDao.deleteBatch(ids);
	}

	@Override
	public List<EmpInfoModifyEntity> selectAllrecord() {
		return empInfoModifyDao.selectAllRecord();
	}

}
